Adwaita: Style separator.sidebar
authorAdrien Plazas <kekun.plazas@laposte.net>
Fri, 7 Sep 2018 10:32:36 +0000 (12:32 +0200)
committerAdrien Plazas <kekun.plazas@laposte.net>
Mon, 10 Sep 2018 13:50:43 +0000 (15:50 +0200)
commit867efe2e3320b572677e95f4fc9472d72baa7341
treef1401bf153d5df07ebb86262fb7d47c2258a8b02
parenta121bfa7ec2878e1eda3df268099741cf6dbdb77
Adwaita: Style separator.sidebar

Let separators be declared as sidebars to have the same style as those
drawn by GtkStackSidebar. This also let them handle the selection-mode
class, whether they are assigned it or they descend from something in
selection mode.

Also drop setting the selection mode color for non-sidebar separators.

This is convenient when building a custom sidebar using a GtkSeparator
and to extend a sidebar to the title bar.
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css